package com.itstyle.seckill.topic.desinger.design_cj.builder;

/**
 * @Auther: liuwenxiang
 * @Date: 2019/9/18 16:53
 * @Description: 构建模式：
 */
public abstract  class Builder {


    //创建产品对象
    protected Product product=new Product();


    public abstract void buildPartA();
    public abstract void buildPartB();
    public abstract void buildPartC();


    //返回产品对象
    public Product getResult()
    {
        return product;
    }




}
